<template>
	<view class="wrapper">
		<view class="form-wrapper">
			<view class="input-wrapper">
				<view class="label">资金账号</view>
				<input class="uni-input" placeholder="请输入资金账号"  placeholder-class="plcstyle" :value="inputClearValue" @input="clearInput" />
			</view>
			<view class="input-wrapper">
				<view class="label">姓名</view>
				<input class="uni-input" placeholder="请输入您的姓名" placeholder-class="plcstyle" :value="inputClearValue" @input="clearInput" />
			</view>
			<view class="input-wrapper">
				<view class="label">身份证</view>
				<input class="uni-input" placeholder="请输入您的身份证号码" placeholder-class="plcstyle" :value="inputClearValue" @input="clearInput" />
			</view>
			<view class="input-wrapper">
				<view class="label">账号类型</view>
				<input class="uni-input" placeholder="普通账户" placeholder-class="plcstyle" :value="inputClearValue" @input="clearInput" />
			</view>
			<view class="agree">
				<uni-icons type="checkbox" size="22"></uni-icons>
				<view class="agreeinfo">根据监管实名制要求。我们将采集您的身份信息，用 于业务办理及身份信息核对</view>
			</view>
			<view class="button">
				<view class="register-btn" @tap="jumpNavigateTo('/pages/user/login')">下一步</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				inputClearValue: '',
			}
		},
		onLoad() {
			
		},
		methods: {
			navback() {
				uni.navigateBack();
			},
			clearInput: function(event) {
				this.inputClearValue = event.detail.value;
				if (event.detail.value.length > 0) {
					this.showClearIcon = true;
				} else {
					this.showClearIcon = false;
				}
			},
			clearIcon: function() {
				this.inputClearValue = '';
			},
		}
	}
</script>

<style lang="scss">
	page{
		width: 100%;
		height: 100%;
		background-color: #F6F4F9;
	}
	.navigate{
		background-color: rgb(255, 255, 255);
		color: rgb(0, 0, 0);
		position: fixed;
		left: var(--window-left);
		right: var(--window-right);
		height: 44px;
		height: calc(44px + constant(safe-area-inset-top));
		height: calc(44px + env(safe-area-inset-top));
		padding: 7px 3px;
		padding-top: calc(7px + constant(safe-area-inset-top));
		padding-top: calc(7px + env(safe-area-inset-top));
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		align-items: center;
		overflow: hidden;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		box-sizing: border-box;
		z-index: 998;
		-webkit-transition-property: all;
		transition-property: all;
		font-weight: bold;
		.left{
			font-weight: 500;
			margin: 0 4rpx;
		}
		.center{
			width: 548rpx;
			text-align: center;
		}
		.right{
			margin-right: 30rpx;
		}
	}
	.wrapper {
		height: 100%;
		box-sizing: border-box;
		image{
			width: 100%;
		}
	}
	.form-wrapper{
		margin-top: 24rpx;
		.input-wrapper{
			width: 100%;
			height: 91rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			background-color: #fff;
			padding: 0 33rpx;
			box-sizing: border-box;
			border-bottom: 1rpx solid #e5e5e5;
			input{
				display: block;
				width: 65%;
				margin-left: 20rpx;
			}
		}
		.plcstyle{
			font-weight: 500;
			font-size: 28rpx;
			color: #999999 !important;
		}
		.agree{
			display: flex;
			justify-content: flex-start;
			font-size: 24rpx;
			margin: 40rpx auto 40rpx;
			padding: 0 33rpx;
			.agreeinfo{
				margin-left: 10rpx;
				font-weight: 500;
				font-size: 28rpx;
				color: #262626;
				line-height: 42rpx;
			}
		}
		.button{
			padding: 0 33rpx;
			.register-btn{
				width: 100%;
				height: 100rpx;
				line-height: 100rpx;
				font-size: 32rpx;
				font-weight: bold;
				text-align: center;
				color: #fff;
				background: linear-gradient(to right, #004EC2, #08377D);
				border-radius: 20rpx;
			}
		}
	}
	
	
</style>